package src;

import java.util.Comparator;

public class ScoreComparer implements Comparator {
	public int compare(Object obj1, Object obj2)
    {			
            float i1 = (float)((MyDoc)obj1).currentScore;
            float i2 = (float)((MyDoc)obj2).currentScore;
            if(i2>i1){return 1;}
            else {return -1;}
    }

}
